<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<ul class="set_item" ng-include="'html/component/left_nav.html'" ng-controller="CunhuoNavCtrl"></ul>
<div class="set_box">
	<h1 class="set_title"><!--新增调拨单-->{{language.TIPS_INVENTORY_NEW_REQUISTION}}</h1>
	<div class="set_cont add_page">
		<form class="add_form">
			<p class="title">
				<!--必填资料-->
				{{language.TIPS_INVENTORY_MUST_INFORMATION}}
			</p>
			<p class="item_wrap">
				<label class="name">*<!--单据编号-->{{language.TIPS_INVENTORY_DOC_CODE}}:</label>
				<span class="val">{{filter.record_code}}</span>
			</p>
			<p class="item_wrap">
				<label class="name">* <!--日期-->{{language.TIPS_INVENTORY_DATE}}:</label>
				<span class="val time">{{filter.record_time}}</span>
			</p>
			<p class="item_wrap">
				<label class="name">* <!--调拨类型-->{{language.TIPS_INVENTORY_ALLOT_TYPE}}:</label>
				<select class="val" ng-model="filter.shift_type" ng-options="type.record_type_name for type in filter.shift_type_option" >
					<option value=""><!--请选择-->{{language.TIPS_INVENTORY_SELECT}}</option>
				</select>
			</p>
			<p class="item_wrap">
				<label class="name">* <!--营业员-->{{language.TIPS_INVENTORY_SHOP_ASSISTANT}}:</label>
				<select class="val" ng-model="filter.user_code" ng-options="daogouyuan.UserName for daogouyuan in filter.user_code_option ">
					<option value=""><!--请选择-->{{language.TIPS_INVENTORY_SELECT}}</option>
				</select>
			</p>
			<p class="item_wrap">
				<label class="name">* <!--邻店-->{{language.TIPS_INVENTORY_NEARLY_SHOP}}:</label>
				<span class="val neighbor">
				<select ng-show="is_lqx" ng-model="filter.friend_shop_code" ng-options="shop.friend_shop_name for shop in filter.shop_select_option ">
						<option value=""><!--请选择-->{{language.TIPS_INVENTORY_SELECT}}</option>
				</select> 
				<select class="val" ng-show="!is_lqx" ng-model="filter.friend_shop_code" ng-options="shop.friend_shop_name for shop in filter.shop_select_option ">
					<option value=""><!--请选择-->{{language.TIPS_INVENTORY_SELECT}}</option>
				</select>
				</span>
			</p>
		</form>
		<p class="btn_wrap">
			<button class="btn"  type="button" ng_click="save_local(filter);">
				<!--保存-->
				{{language.ACT_SAVE}}
			</button>
			<button class="btn" type="reset" ng_click="reset(filter);">
				<!--重置-->
				{{language.ACT_RESET}}
			</button>
		</p>
	</div>
</div>
